package bz.yfw.example.s3blazeds.part2.behavior
{
	import bz.yfw.common.image.AssetImage;
	import bz.yfw.example.s3blazeds.part2.helper.EmpEditThirdNextHelper;
	import bz.yfw.example.s3blazeds.part2.view.EmpEditConfirmView;
	
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	
	import org.seasar.akabana.yui.framework.ns.handler;
	import org.seasar.akabana.yui.framework.ns.helper;
	
	import spark.primitives.BitmapImage;
	
	

	/**
	 * 社員編集画面3から確認画面へBehavior
	 * @author tokufxug http://twitter.com/tokufxug
	 */ 
	public class EmpEditThirdConfirmBehavior
	{
		public var helper:EmpEditThirdNextHelper;
		
		handler function btnConfirm_click():void {
			var bp:Bitmap = new AssetImage.FACE() as Bitmap;
			helper.moveNext(EmpEditConfirmView, bp.bitmapData);
		}
	}
}